package com.relytosoft.mizar.media.analyze.services.service.system;

/**
 * @author wss
 * @version 1.0
 * @date 2022/5/20 14:07
 */

public interface AyUploadImageService {

    /**
     * base64图片上传
     *
     * @param base64Str
     * @param upLoadFileCode
     * @return
     */
    public String base64Upload(String base64Str, Integer upLoadFileCode);

    /**
     * base64 图片画框上传
     *
     * @param base64Str
     * @param leftBottomX
     * @param leftBottomY
     * @param rightTopX
     * @param rightTopY
     * @param upLoadFileCode
     * @return
     */
    public String base64FrameUpload(String base64Str, int leftBottomX, int leftBottomY, int rightTopX, int rightTopY, Integer upLoadFileCode);

    /**
     * url上传
     *
     * @param imageUrl
     * @param upLoadFileCode
     * @return
     */
    public String rawUrlUpload(String imageUrl, Integer upLoadFileCode);

    /**
     * url 图片画框上传
     *
     * @param imageUrl
     * @param leftBottomX
     * @param leftBottomY
     * @param rightTopX
     * @param rightTopY
     * @param upLoadFileCode
     * @return
     */
    public String rawUrlFrameUpload(String imageUrl, int leftBottomX, int leftBottomY, int rightTopX, int rightTopY, Integer upLoadFileCode);
}
